package com.wu.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.base.ApiResponse;
import com.wu.entity.sys.SPositionDo;
import com.wu.pojo.reqeust.BaseRequest;
import com.wu.pojo.reqeust.CommonIdRequest;
import com.wu.pojo.reqeust.CommonIdStatusRequest;
import com.wu.pojo.reqeust.sys.DeletePositionRequest;
import com.wu.pojo.reqeust.sys.ListPositionRequest;
import com.wu.pojo.reqeust.sys.SavePositionRequest;
import com.wu.pojo.reqeust.sys.UpdatePositionRequest;

public interface SPositionService extends IService<SPositionDo> {

    ApiResponse listPosition(ListPositionRequest request);

    ApiResponse optionList(BaseRequest request);

    ApiResponse save(SavePositionRequest request, Long userId);

    ApiResponse edit(UpdatePositionRequest request, Long userId);

    ApiResponse deletePosition(DeletePositionRequest request, Long userId);

    ApiResponse onOrOff(CommonIdStatusRequest request);

    ApiResponse getById(CommonIdRequest request);

    ApiResponse positionUserList(CommonIdRequest request);
}